<template>
    <div id="Choiceness">
        <Searchbox/>
        <div class="center">
            <!-- <router-view/> 小跳转显示区 -->
            <Choicenesscenter />
            <!-- <Carousel/>
            <Navigationbar/>
            <Daohangtu/>
            <Paihangbang/>
            <Paihangbang/> -->
        </div>
        <Footer/>
    </div>
</template>


<script>
import Searchbox from "../components/choiceness/Searchbox"
// import Carousel from '../components/choiceness/Carousel'
// import Navigationbar from '../components/choiceness/Navigationbar'
// import Daohangtu from '../components/choiceness/Daohangtu'
// import Paihangbang from '../components/choiceness/Paihangbang'
import Footer from '../components/Footer'
import Choicenesscenter from '../components/choiceness/Choicenesscenter'


export default {
    name:"Choiceness",
    data(){
        return {
            add:true
        }
    },
    components:{
        Searchbox,Choicenesscenter
        // ,Carousel,Navigationbar,Daohangtu,Paihangbang
        ,Footer
    },
    // beforeRouteLeave (to, from, next) {//后置
    //     if(to.path=='/jingxuan'){
    //         next(true)
    //         console.log("我的跳转到页面",to,from,next)
    //         console.log(this.add)
    //     }
    // }
}
</script>

<style scoped>
#Choiceness{
    height: 100%;
    display: flex;
    flex-direction:column;
}
.center{
    flex: 1;
    overflow-y: auto
}
</style>
